import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询用户列表
export function listVehicle(data) {
  return request({
    url: '/system/vehicle/list',
    method: 'post',
    data: data
  })
}

// 修改部门
export function updateVehicle(data) {
  return request({
    url: '/system/vehicle/update',
    method: 'put',
    data: data
  })
}

// 新增车辆
export function addVehicle(data) {
  return request({
    url: '/system/vehicle/add',
    method: 'post',
    data: data
  })
}
//删除车辆
export function detVehicle(data) {
  return request({
    url: '/system/vehicle/det',
    method: 'post',
    data: data
  })
}
